def getNum():
    nums=[]
    iNumStr=input('请输入小朋友的体重：')
    while iNumStr !='':
        nums.append(eval(iNumStr))
        iNumStr =input ('请输入小朋友的体重：')
    return nums

def mean(numbers):
    s=0.0
    for num in numbers:
        s+=num
    m= s/len(numbers)
    return m

def gage(numbers,m):
    for num in numbers:
        if num>m:
            print ('要多锻炼啦：{}'.format(num))
    return num

def main():
    n=getNum()
    m=mean(n)
    print ('平均体重为：{}'.format(m))
    g=gage(n,m)
    
main()
